<?php
defined('IN_TS') or die('Access Denied.');

include_once( 'config.php' );


header('Location: https://open.weixin.qq.com/connect/qrconnect?appid='.WX_AKEY.'&redirect_uri='.urlencode(WX_CALLBACK_URL).'&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect');
exit;